package br.brpv.silvestrin.vendas.domain;

/**
 * Created with IntelliJ IDEA.
 * User: paulo
 * Date: 5/21/12
 * Time: 7:31 PM
 * To change this template use File | Settings | File Templates.
 */
public class Vendor  implements OrderParam{
    String id;
    String cod;
    String name;

    public Vendor(String id, String cod, String name) {
        this.id = id;
        this.cod = cod;
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

    @Override
    public String getText() {
        return name;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCod() {
        return cod;
    }

    public void setCod(String cod) {
        this.cod = cod;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
